﻿<?xml version="1.0" encoding="utf-8" ?>

<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" namespace="MSH.Common.Business" assembly="Common">

<class name="UserLocation" table="UserLocation">

  <id name="ID">
    <generator class="native">
      <param name="sequence">SeqUserLocationID</param>
    </generator>
  </id>

  <property name="Longitude">
    <column name="Longitude" not-null="false"  />
  </property>

  <property name="Latitude">
    <column name="Latitude" not-null="false"  />
  </property>

  <property name="AddressLine">
    <column name="AddressLine" length="150" not-null="false"  />
  </property>

  <property name="AdminDistrict">
    <column name="AdminDistrict" length="150" not-null="false"  />
  </property>

  <property name="CountryRegion">
    <column name="CountryRegion" length="150" not-null="false"  />
  </property>

  <property name="Locality">
    <column name="Locality" length="150" not-null="false"  />
  </property>

  <property name="PostalCode">
    <column name="PostalCode" length="150" not-null="false"  />
  </property>

  <property name="Timestamp">
    <column name="TIMESTAMP" not-null="false"  />
  </property>
  
  

</class>

</hibernate-mapping>

